package com.kingyun.gpsinspection.purificationservice.facade.service.jsm.permission;

import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.Account;

/**
 * Created by huangxueqian on 2017/1/5/005.
 * 账号服务类
 */
public interface JsmAccountService {

    /**
     * @param username 用户名称
     * @param password 用户密码
     * @param tonken
     * @return
     * @throws Exception
     */
    public Account login(String username, String password, String tonken) throws Exception;

    /**
     * @param accountId z账号名称
     * @return
     * @throws Exception
     */
    public Account selectAcountByAccountId(String accountId) throws Exception;


}
